package com.core.life.service;

import java.util.List;

import org.springframework.web.multipart.MultipartFile;

import com.core.life.entity.ConsumeRecordEntity;
import com.core.life.vo.ImageVo;

public interface IImageService {

	void saveImage(MultipartFile img, ConsumeRecordEntity consumeRecord) throws Exception;
	
	void updateImage(MultipartFile img, ConsumeRecordEntity consumeRecord) throws Exception;
	
	List<ImageVo> getImageListByConsumeRecordId(Long consumeRecordId);
	
	void deleteImagesByConsumeRecordIds(List<Long> consumeRecordIds);
}
